﻿using GJB.MVVMLesson.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GJB.MVVMLesson.ViewModels
{
    public class MianViewModel
    {
        public MainModel mainModel { get; set; } = new MainModel();

        public MianViewModel()
        {
            //Task.Factory.StartNew(() =>
            //{
            //    Thread.Sleep(10 * 1000);
            //    mainModel.Value3 = mainModel.Value2 + mainModel.Value1;
            //});
        }
        
        
    }
}
